<?php 
    session_start();
    unset($_SESSION['userid']);
    $response = ["code" => 1];
    echo json_encode($response, JSON_UNESCAPED_UNICODE);
?>